//
//  BaseFlipViewItem.h
//  BaoVn
//
//  Created by Le Anh Tai on 11/6/14.
//  Copyright (c) 2014 Le Anh Tai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LineView.h"

@class BaseNewsItemView;
@protocol BaseFlipViewItemDelegate;
@interface BaseFlipViewItem : UIView
{
    LineView *_lineView;
}

@property (nonatomic, assign) NSInteger ofIndex;
@property (nonatomic, weak) id<BaseFlipViewItemDelegate> delegate;

- (void)loadDataWithValue:(id)value;

@end

@protocol BaseFlipViewItemDelegate <NSObject>

- (void)flipViewItem:(BaseFlipViewItem *)view didSelectItem:(BaseNewsItemView *)item withData:(NSDictionary *)data;

@end